//
//  CustomMovieInfoView.h
//  ShowTimeApp
//
//  Created by Ruby on 10/22/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Movie.h"
#import "Cinema.h"

@interface CustomMovieInfoView : UIView {
    UILabel *titleViLabel,*genreLabel,*movieStudioLabel,*directorLabel,*actorLabel,*languageLabel,*versionLabel,*lengthLabel,*countryLabel,*descriptionLabel;
    UIImageView *posterImageView;
    UIButton *viewTrailerCommand,*showtimeCommand;
    Movie* movie;
    Cinema* cinema;
}

@property (retain) UILabel *titleViLabel,*genreLabel,*movieStudioLabel,*directorLabel,*actorLabel,*languageLabel,*versionLabel,*lengthLabel,*countryLabel,*descriptionLabel;
@property (retain) Movie *movie;
@property (retain) UIImageView *posterImageView;
@property (retain) UIButton *viewTrailerCommand,*showtimeCommand;

- (id)initWithFrame:(CGRect)frame andText:(NSString*)string;
-(id)initWithMovieInfo:(Movie*)_movie andFrame:(CGRect)frame;
-(id)initWithMovieInfo:(Movie*)_movie andFrame:(CGRect)frame andController:(UIViewController*)controller;
-(void)showTrailer:(id)sender;
-(id)showCurrentShowtime:(id)sender;
@end
